package com.mutual.reins.danger.entity;

import java.math.BigDecimal;

import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author CodeGenerate
 * @since 2021-03-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("PRPTDANGERUNIT")
public class PrptDangerUnit implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("PROPOSALNO")
    private String proposalNo;

    @TableField("RISKCODE")
    private String riskCode;

    @TableField("DANGERNO")
    private Integer dangerNo;

    @TableField("DANGERDESC")
    private String dangerDesc;

    @TableField("ADDRESSNAME")
    private String addressName;

    @TableField("RISKLEVEL")
    private String riskLevel;

    @TableField("RISKLEVELDESC")
    private String riskLevelDesc;

    @TableField("ITEMKIND")
    private String itemKind;

    @TableField("ITEMKINDDESC")
    private String itemKindDesc;

    @TableField("CURRENCY")
    private String currency;

    @TableField("AMOUNT")
    private BigDecimal amount;

    @TableField("PREMIUM")
    private BigDecimal premium;

    @TableField("DISFEE")
    private BigDecimal disFee = new BigDecimal("0.00");

    @TableField("DANGERSHARE")
    private BigDecimal dangerShare;

    @TableField("RETCURRENCY")
    private String retCurrency;

    @TableField("RETENTIONVALUE")
    private BigDecimal retentionValue;

    @TableField("REMARKS")
    private String reMarks;

    /**
     * [1]：进入协议标志,0-不进,1-进;[2]：进入溢额标志,0-不进,1-进
     */
    @TableField("FLAG")
    private String flag;

    @TableField("ENDORSETIMES")
    private Integer endorseTimes = 0;

    @TableField("SPECURRENCY")
    private String speCurrency;

    @TableField("SPERATE")
    private BigDecimal speRate = new BigDecimal("0.000000");

    @TableField("SPEVALUE")
    private BigDecimal speValue = new BigDecimal("0.00");

    @TableField("GROUPFLAG")
    private String groupFlag;

    @TableField("RISKCLASSDESC")
    private String riskClassDesc;

    @TableField("BUSINESS")
    private String business;

    @TableField("BUSINESSDESC")
    private String businessDesc;

    @TableField("RISKCLASS")
    private String riskClass;

    @TableField("COINSFLAG")
    private String coinsFlag;

    @TableField("SHAREHOLDERFLAG")
    private String shareholderFlag;

    @TableField("BUSINESSFLAG")
    private String businessFlag;

    /**
     * 地址编码
     */
    @TableField("ADDRESSCODE")
    private String addressCode;

    /**
     * 船舶代码
     */
    @TableField("SHIPCODE")
    private String shipCode;

    /**
     * 船名
     */
    @TableField("SHIPCNAME")
    private String shipCname;

    /**
     * 起保日期
     */
    @TableField("STARTDATE")
    private LocalDate startDate;

    /**
     * 终保日期
     */
    @TableField("ENDDATE")
    private LocalDate endDate;

    /**
     * 业务渠道代码
     */
    @TableField("BUSINESSCHANNEL")
    private String businessChannel;

    @TableField("BUSINESSNATURE")
    private String businessNature;

    @TableField("FLAG1")
    private String flag1;

    @TableField("OPENCOVERFLAG")
    private String openCoverFlag;

    @TableField("OPENCOVERCODE")
    private String openCoverCode;

    /**
     * 团意险人数
     */
    @TableField("PERSONNUM")
    private String personNum;

    /**
     * 不免税保费
     */
    @TableField("PREMOFVAT")
    private BigDecimal premOfVat = new BigDecimal("0.00");

    /**
     * 增值税
     */
    @TableField("VAT")
    private BigDecimal vat = new BigDecimal("0.00");

    /**
     * 税率
     */
    @TableField("VATRATE")
    private BigDecimal vatRate = new BigDecimal("0.000000");

    /**
     * 免税保费
     */
    @TableField("PREMFREEVAT")
    private BigDecimal premFreeVat = new BigDecimal("0.00");

    /**
     * 免税金额
     */
    @TableField("FREEVAT")
    private BigDecimal freeVat = new BigDecimal("0.00");

    /**
     * 考核机构
     */
    @TableField("EXAMINECOMCODE")
    private String examineComCode;

    /**
     * 考核人员
     */
    @TableField("EXAMINEUSERCODE")
    private String examineUserCode;

    /**
     * 免税标志
     */
    @TableField("FREEVATFLAG")
    private String freeVatFlag;

    @TableField("GROUPNO")
    private String groupNo;


}
